<!--login container-->
<div id="login">
<div class="nr-login-container">
  <img class="login-bg hidden-xs" src="images/nr-offical/login/login-bg.jpg" alt=""/>
  <div class="login-div ">
    <div class="login-role" ng-if="$storage.language==0">
      登录
      <!--<div class="login-role-person" ng-class="{'main-text-color':loginType==0}" ng-click="changeLoginType(0)">个人用户</div>-->
      <!--<div class="login-role-company" ng-class="{'main-text-color':loginType==1}" ng-click="changeLoginType(1)">企业用户</div>-->
    </div>
    <div class="login-role" ng-if="$storage.language==1">
      login
      <!--<div class="login-role-person" ng-class="{'main-text-color':loginType==0}" ng-click="changeLoginType(0)">personal</div>-->
      <!--<div class="login-role-company" ng-class="{'main-text-color':loginType==1}" ng-click="changeLoginType(1)">company</div>-->
    </div>
    <div class="login-form">
      <div class="input-container">
        <div class="input-line username" ng-if="$storage.language==0">
          <div class="ipt-label">用户名</div>
          <input type="text" placeholder="请输入用户名" ng-model="data.username">
        </div>
        <div class="input-line username" ng-if="$storage.language==1">
          <div class="ipt-label">username</div>
          <input type="text" placeholder="please input username" ng-model="data.username">
        </div>
        <div class="input-line" ng-if="$storage.language==0">
          <div class="ipt-label">密码</div>
          <input type="password" placeholder="请输入密码" ng-model="data.password">
        </div>
        <div class="input-line" ng-if="$storage.language==1">
          <div class="ipt-label">password</div>
          <input type="password" placeholder="please input password" ng-model="data.password">
        </div>
      </div>
      <!--<div class="forget-password">-->
        <!--忘记密码?-->
      <!--</div>-->
      <div class="btn-container">
        <button class="btn btn-bg" ng-click="login()" ng-if="$storage.language==0">登录</button>
        <button class="btn btn-bg" ng-click="login()" ng-if="$storage.language==1">login</button>
      </div>
      <div class="btn-container">
        <button class="btn btn-warning register" ng-click="goRegister()" ng-if="$storage.language==0">注册</button>
        <button class="btn btn-warning register" ng-click="goRegister()" ng-if="$storage.language==1">register</button>
      </div>
    </div>
    <div class="other-way-login"></div>
  </div>
</div>
</div>
<!--login container end-->